package com.brspace.qualitycontrol.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 镇本机手机事项
 * </p>
 *
 * @author ${author}
 * @since 2021-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TownMatter对象", description="镇本机手机事项")
public class TownMatter implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "uuid")
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "采集人")
    private String collector;

    @ApiModelProperty(value = "采集时间")
    private Date collectTime;

    @ApiModelProperty(value = "来源")
    private String source;

    @ApiModelProperty(value = "采集人电话")
    private Integer collectTel;

    @ApiModelProperty(value = "反映人")
    private String sourceUser;

    @ApiModelProperty(value = "反映人电话")
    private Integer sourceTel;

    @ApiModelProperty(value = "反应日期")
    private Date sourceTime;

    @ApiModelProperty(value = "初重")
    private String initialWeight;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "信访内容")
    private String contents;

    @ApiModelProperty(value = "交办意见")
    private String assignedOpinions;

    @ApiModelProperty(value = "领导意见")
    private String leaderOpinions;

    @ApiModelProperty(value = "承办单位")
    private String organizer;

    @ApiModelProperty(value = "联系人")
    private String contacts;

    @ApiModelProperty(value = "联系电话")
    private Integer tel;

    @ApiModelProperty(value = "办理结果")
    private String handle;

    @ApiModelProperty(value = "回访人")
    private String returnVisit;

    @ApiModelProperty(value = "所在科室")
    private String department;

    @ApiModelProperty(value = "回访次数")
    private Integer retureNum;

    @ApiModelProperty(value = "回访电话")
    private Integer retureTel;

    @ApiModelProperty(value = "第一次")
    private String first;

    @ApiModelProperty(value = "第二次")
    private String second;

    @ApiModelProperty(value = "满意度")
    private String satisfaction;

    @ApiModelProperty(value = "失败原因")
    private String errorReason;

    @ApiModelProperty(value = "路由条件")
    private String progress;

    @ApiModelProperty(value = "信访编号")
    private String letterNumber;

    @ApiModelProperty(value = "信访日期")
    private Date letterTime;

    @ApiModelProperty(value = "期限答复")
    private Date termTime;

    @ApiModelProperty(value = "天数")
    private Integer dayNum;

    @ApiModelProperty(value = "信访文件")
    private String letterFile;

    @ApiModelProperty(value = "经办人")
    private String userId;

    @ApiModelProperty(value = "经办人确认")
    private String userRen;

    @ApiModelProperty(value = "分管领导ID")
    private String fenId;

    @ApiModelProperty(value = "分管领导意见")
    private String fenRen;

    @ApiModelProperty(value = "分管领导审批意见")
    private String fenRenTwo;

    @ApiModelProperty(value = "分管科室领导ID")
    private String keId;

    @ApiModelProperty(value = "分管领导科室意见")
    private String keRen;

    @ApiModelProperty(value = "承办人")
    private String chengUser;

    @ApiModelProperty(value = "承办人意见")
    private String chengRen;

    @ApiModelProperty(value = "nodeID")
    private Integer nodeId;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
